package io;

import java.io.*;

public class PwDemo {
    public static void main(String[] args) throws IOException {
       //默认维护8KB（）长度char数组
        FileOutputStream sis=new FileOutputStream("oo.txt");
        OutputStreamWriter sos=new OutputStreamWriter(sis);
       BufferedWriter del=new BufferedWriter(sos);
       PrintWriter pp=new PrintWriter(del);
      pp.println("一起走在上坡上，走在河里，散步在床撒");
      pp.println("撒拉嘿呦，一库");
       System.out.println("搞定");
       del.close();
       PrintWriter pe=new PrintWriter("o1.txt");
       pe.println("吉尔华盛顿接口");
       pe.println("的哈数据库哈");
       System.out.println(pe);
       pe.close();
    }
}
